package resolver

// This file will be automatically regenerated based on the schema, any resolver implementations
// will be copied through when generating and any unknown code will be moved to the end.

import (
	"context"
	"fmt"

	"mall/service/wpgql/api/internal/graph/generated"
	"mall/service/wpgql/api/internal/graph/model"
)

func (r *mutationResolver) CreatePostFormat(ctx context.Context, input model.CreatePostFormatInput) (*model.CreatePostFormatPayload, error) {
	panic(fmt.Errorf("not implemented"))
}

func (r *mutationResolver) DeletePostFormat(ctx context.Context, input model.DeletePostFormatInput) (*model.DeletePostFormatPayload, error) {
	panic(fmt.Errorf("not implemented"))
}

func (r *mutationResolver) UpdatePostFormat(ctx context.Context, input model.UpdatePostFormatInput) (*model.UpdatePostFormatPayload, error) {
	panic(fmt.Errorf("not implemented"))
}

func (r *postFormatResolver) ContentNodes(ctx context.Context, obj *model.PostFormat, first *int, last *int, after *string, before *string, where *model.PostFormatToContentNodeConnectionWhereArgs) (*model.PostFormatToContentNodeConnection, error) {
	panic(fmt.Errorf("not implemented"))
}

func (r *postFormatResolver) EnqueuedScripts(ctx context.Context, obj *model.PostFormat, first *int, last *int, after *string, before *string) (*model.TermNodeToEnqueuedScriptConnection, error) {
	panic(fmt.Errorf("not implemented"))
}

func (r *postFormatResolver) EnqueuedStylesheets(ctx context.Context, obj *model.PostFormat, first *int, last *int, after *string, before *string) (*model.TermNodeToEnqueuedStylesheetConnection, error) {
	panic(fmt.Errorf("not implemented"))
}

func (r *postFormatResolver) Posts(ctx context.Context, obj *model.PostFormat, first *int, last *int, after *string, before *string, where *model.PostFormatToPostConnectionWhereArgs) (*model.PostFormatToPostConnection, error) {
	panic(fmt.Errorf("not implemented"))
}

func (r *queryResolver) PostFormat(ctx context.Context, id string, idType *model.PostFormatIDType) (*model.PostFormat, error) {
	panic(fmt.Errorf("not implemented"))
}

func (r *queryResolver) PostFormats(ctx context.Context, first *int, last *int, after *string, before *string, where *model.RootQueryToPostFormatConnectionWhereArgs) (*model.RootQueryToPostFormatConnection, error) {
	panic(fmt.Errorf("not implemented"))
}

// PostFormat returns generated.PostFormatResolver implementation.
func (r *Resolver) PostFormat() generated.PostFormatResolver { return &postFormatResolver{r} }

type postFormatResolver struct{ *Resolver }
